using Microsoft.EntityFrameworkCore;
using Note.Model;

namespace Note.Context;

public class NoteContext : DbContext
{
    public DbSet<NoteModel>? Notes { get; set; }

    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    {
        optionsBuilder.UseSqlite("Data Source=./notes.db");
    }
}
